package com.lanou3g.demo.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 角色信息表对应的实体类
 */
public class RoleInfo implements Serializable {
    private Integer roleId;
    private String roleName;

    private List<RoleModule> roleModuleList;


    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public List<RoleModule> getRoleModuleList() {
        return roleModuleList;
    }

    public void setRoleModuleList(List<RoleModule> roleModuleList) {
        this.roleModuleList = roleModuleList;
    }

    @Override
    public String toString() {
        return "RoleInfo{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleModuleList=" + roleModuleList +
                '}';
    }
}
